package com.xianggu.designMode.templateMethod;

public class CPCNPay extends AbstractPay {
    @Override
    protected void channelPay() {
        System.out.println("调用中金支付接口（XML格式）");
    }

    // 覆盖钩子方法，关闭权限校验
    @Override
    protected boolean needCheckAuth() {
        return false;  
    }
}